package com.ruoyi.daily.mapper;

import java.util.List;
import com.ruoyi.daily.domain.XinfengOrder;

/**
 * 订单Mapper接口
 * 
 * @author gyy
 * @date 2025-04-19
 */
public interface XinfengOrderMapper 
{
    /**
     * 查询订单
     * 
     * @param id 订单主键
     * @return 订单
     */
    public XinfengOrder selectXinfengOrderById(Long id);

    /**
     * 查询订单列表
     * 
     * @param xinfengOrder 订单
     * @return 订单集合
     */
    public List<XinfengOrder> selectXinfengOrderList(XinfengOrder xinfengOrder);

    /**
     * 新增订单
     * 
     * @param xinfengOrder 订单
     * @return 结果
     */
    public int insertXinfengOrder(XinfengOrder xinfengOrder);

    /**
     * 修改订单
     * 
     * @param xinfengOrder 订单
     * @return 结果
     */
    public int updateXinfengOrder(XinfengOrder xinfengOrder);

    /**
     * 删除订单
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteXinfengOrderById(Long id);

    /**
     * 批量删除订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteXinfengOrderByIds(Long[] ids);
}
